/**
 * Popconfirm 组件的主题配置
 */

import type { ComponentToken } from 'antd/es/popconfirm/style';

export const popconfirmThemeConfig: Partial<ComponentToken> = {
  zIndexPopup: 1060,
};

export const getPopconfirmTheme = (
  customConfig?: Partial<ComponentToken>
): Partial<ComponentToken> => {
  return {
    ...popconfirmThemeConfig,
    ...customConfig,
  };
};

export type { ComponentToken as PopconfirmComponentToken } from 'antd/es/popconfirm/style';

